home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gnome-vfs-module-2.0 / libgnomevfs / gnome-vfs-transform.h < prev   
Encoding:
C/C++ Source or Header  |  2006-05-01  |  1.7 KB  |  50 lines

  1. /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
  2. /* gnome-vfs-transform.h - transform function declarations
  3.  
  4.    Copyright (C) 1999, 2001 Free Software Foundation
  5.  
  6.    The Gnome Library is free software; you can redistribute it and/or
  7.    modify it under the terms of the GNU Library General Public License as
  8.    published by the Free Software Foundation; either version 2 of the
  9.    License, or (at your option) any later version.
  10.  
  11.    The Gnome Library is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.    Library General Public License for more details.
  15.  
  16.    You should have received a copy of the GNU Library General Public
  17.    License along with the Gnome Library; see the file COPYING.LIB.  If not,
  18.    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19.    Boston, MA 02111-1307, USA.
  20.  
  21.    Author: Ettore Perazzoli <ettore@gnu.org>
  22.            Seth Nickell <snickell@stanford.edu>
  23. */
  24.  
  25. #ifndef GNOME_VFS_TRANSFORM_H
  26. #define GNOME_VFS_TRANSFORM_H
  27.  
  28. #include <libgnomevfs/gnome-vfs-result.h>
  29. #include <libgnomevfs/gnome-vfs-context.h>
  30.  
  31. G_BEGIN_DECLS
  32.  
  33. typedef struct GnomeVFSTransform GnomeVFSTransform;
  34.  
  35. typedef GnomeVFSTransform * (* GnomeVFSTransformInitFunc) (const char        *method_name,
  36.                                const char        *config_args);
  37.  
  38. typedef GnomeVFSResult (* GnomeVFSTransformFunc)          (GnomeVFSTransform *transform,
  39.                                const char        *old_uri,
  40.                                char             **new_uri,
  41.                                GnomeVFSContext   *context);
  42.  
  43. struct GnomeVFSTransform {
  44.     GnomeVFSTransformFunc transform;
  45. };
  46.  
  47. G_END_DECLS
  48.  
  49. #endif
  50.